package com.marktotop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.marktotop.entity.system.LoginLog;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 登录日志表 Mapper 接口
 * </p>
 *
 * @author MarkToTop
 * @since 2021-07-12
 */
public interface LoginLogMapper extends BaseMapper<LoginLog> {

    /**
     * 模糊 分页 展示登录日志列表
     *
     * @param page
     * @param loginLog
     * @return
     */
    IPage<LoginLog> getLoginLogsByPage(Page<LoginLog> page, @Param("loginLog") LoginLog loginLog);
}
